package models

import (
	"github.com/goravel/framework/database/orm"
)

type RolePermission struct {
	orm.Model
	RoleId       uint `json:"role_id" gorm:"column:role_id"`
	PermissionId uint `json:"permission_id" gorm:"column:permission_id"`
	orm.Timestamps
}

func (r *RolePermission) TableName() string {
	return "role_permissions"
}
